<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript">
	
	function redirect(){
		document.forms[0].submit();
	}

</script>

</head>
<body onload="redirect();">
	<form name="redirect" id="redirect" action="${urlToRedirect}" method="POST">
		<input name="j_username" type="hidden" value="${username}"/>
		<input type="hidden" name="j_password" value="${password}"/>
	</form>
</body>
</html>